package me.youline.dataServer.controller.dto;

import java.io.Serializable;
import java.util.Date;

/**
 * 单个用户之间社交关系传输对象
 * @author linhan
 *
 */
public class UserSocialRelationItemDTO implements Serializable{

	private static final long serialVersionUID = 2486593039873395192L;

	/**
	 * 排序id
	 */
	private Long id;
	
	/**
	 * 用户信息
	 */
	private UserSimpleInfoFrontDTO user;
	
	/**
	 * 该用户是否被当前请求者关注
	 */
	private boolean isFollowed;	
	
	/**
	 * 该用户是否关注当前请求者
	 */
	private boolean isFollowing;
	
	/**
	 * 创建时间
	 */
	private Date createTime;

	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public UserSimpleInfoFrontDTO getUser() {
		return user;
	}

	public void setUser(UserSimpleInfoFrontDTO user) {
		this.user = user;
	}
	/**
	 * 獲取当前用户是否被请求浏览用户关注
	 * @param isFollowed
	 */
	public boolean getIsFollowed() {
		return isFollowed;
	}

	/**
	 * 设置当前用户是否被请求浏览用户关注
	 * @param isFollowed
	 */
	public void setIsFollowed(boolean isFollowed) {
		this.isFollowed = isFollowed;
	}
	
	/**
	 * 获取当前用户是否关注请求浏览用户
	 * @param isFollowed
	 */
	public boolean getIsFollowing() {
		return isFollowing;
	}
	
	/**
	 * 设置当前用户是否关注请求浏览用户
	 * @param isFollowed
	 */
	public void setIsFollowing(boolean isFollowing) {
		this.isFollowing = isFollowing;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	
}
